package com.joolun.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.joolun.common.annotation.Excel;
import com.joolun.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 获客助手对象 scrm_customer_acquisition
 * 
 * @author joolun
 * @date 2025-03-06
 */
@Data
public class ScrmCustomerAcquisition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 链接名称 */
    @Excel(name = "链接名称")
    private String linkName;

    /** 链接url */
    @Excel(name = "链接url")
    private String linkUrl;

    /** 关联课程id */
    @Excel(name = "关联课程id")
    private Long courseId;

    /** 关联微信账户 */
    @Excel(name = "关联微信账户")
    private String extId;

    /** 所属企业 */
    @Excel(name = "所属企业")
    private String extCorpId;

    /** '状态，1：是；2：否' */
    @Excel(name = "'状态，1：是；2：否'")
    private Integer status;

    private String configId;

    @TableField(exist = false)
    private String deptName;

    /** 主体id */
    @Excel(name = "主体id")
    private String corpId;

    /** 排期id */
    @Excel(name = "排期id")
    private String schedulingId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLinkName(String linkName) 
    {
        this.linkName = linkName;
    }

    public String getLinkName() 
    {
        return linkName;
    }
    public void setLinkUrl(String linkUrl) 
    {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl() 
    {
        return linkUrl;
    }
    public void setExtId(String extId)
    {
        this.extId = extId;
    }

    public String getExtId() 
    {
        return extId;
    }
    public void setExtCorpId(String extCorpId) 
    {
        this.extCorpId = extCorpId;
    }

    public String getExtCorpId() 
    {
        return extCorpId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("linkName", getLinkName())
            .append("linkUrl", getLinkUrl())
            .append("courseId", getCourseId())
            .append("extId", getExtId())
            .append("extCorpId", getExtCorpId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
